import request from '@/utils/request'

export function getData(data) {
  return request({
    url: '/business/project/list',
    method: 'post',
    data
  })
}
export function addProject(data) {
  return request({
    url: '/business/project',
    method: 'post',
    data
  })
}
export function deleteProject(ids) {
  return request({
    url: '/business/project/delete',
    method: 'post',
    params: { ids }
  })
}
export function getProjectDetails(id) {
  return request({
    url: '/business/project',
    method: 'get',
    params: { id }
  })
}
export function getConsult(id) {
  return request({
    url: '/business/project/consult',
    method: 'post',
    params: { id }
  })
}


